package com.yibing.test.tdd.controller;

public class ErrorResponse implements Response {
	
	public ErrorResponse(Request request, Exception exception) {
		this.orginalException = exception;
		this.orginalRequest = request;
	}
	
	public Request getOrginalRequest() {
		return orginalRequest;
	}

	public Exception getOrginalException() {
		return orginalException;
	}

	private Request orginalRequest;
	
	private Exception orginalException;

}
